seg1b:0003F60E ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦
seg1b:0003F60E
seg1b:0003F60E
seg1b:0003F60E PID1141_IGNV_code: ; DATA XREF: Seg1a:00002104o
seg1b:0003F60E move.w (IGNVx256).w,d0 ; IGNV x 256 ($C00 = 12V)
seg1b:0003F612 mulu.w #5,d0 ; x 5
seg1b:0003F616 cmpi.l #$FFFF,d0
seg1b:0003F61C bhi.s loc_3F626
seg1b:0003F61E lsr.w #7,d0 ; / 128 .... (256 x 5 / 128 = x 10)
seg1b:0003F620 cmpi.w #$FF,d0
seg1b:0003F624 bls.s locret_3F62A
seg1b:0003F626
seg1b:0003F626 loc_3F626: ; CODE XREF: PID1141_IGNV_code+Ej
seg1b:0003F626 move.b #-1,d0
seg1b:0003F62A
seg1b:0003F62A locret_3F62A: ; CODE XREF: PID1141_IGNV_code+16j
seg1b:0003F62A rts ; d0 = IGNV x 10
seg1b:0003F62A ; End of function PID1141_IGNV_code